home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
general
/
modelers
/
geomview
/
source.lha
/
Geomview
/
src
/
bin
/
geomutil
/
math2oogl
/
Geomview.m
< prev
next >
Wrap
Text File
|
1993-10-27
|
706b
|
25 lines
(*
* Geomview.m selects Geomview graphics as the default for Show
* of 3D graphics objects. Others still use the default system.
* To restore normality, load <<GL.m or <<X11.m or etc.
*)
Needs["OOGL`"];
ClearAll[$DisplayFunction];
$DisplayFunction[g_Graphics3D] := Geomview[g];
$DisplayFunction[g_SurfaceGraphics] := Geomview[g];
$DisplayFunction[g_] := Display[$Display, g];
If[ !MemberQ[$CommandLine, "-noprompt"],
( Print[" -- Geomview graphics initialized -- "];
If[(DisplayHost /. Options[Geomview]) != "",
Print["Geomview.m: graphics will display remotely on ",
DisplayHost /. Options[Geomview]];
Print["To change this, see DisplayHost in Options[Geomview]."]
]
)
];